/**
 * 
 */
package com.main.ssm_aop_xml.springXml;

import java.util.Arrays;

import org.aspectj.lang.JoinPoint;

/**
 * @author admin
 *
 */
public class NeedAspect {

	public void beforeMethod(JoinPoint joinPoint){
		String methodName = joinPoint.getSignature().getName();
		Object [] args = joinPoint.getArgs();		
		System.out.println("The method " + methodName + " begins with " + Arrays.asList(args));
	}
      public void afterMethod() {
    	  System.out.println("֪������");
      }
}
